package com.study.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @desc:
 * @author: panxiyi
 * @date: 2023/5/4 10:42 下午
 */

@Component
@ConfigurationProperties(prefix = "memcached")
@Data
public class XMemcachedProperties {

    private String servers;

    private int poolSize;

    private long opTimeout;
}
